<div class="qc qc_28">{get_ads id=28}</div>
<div class="hotvideos">
	<h2><a href="<?= base_url(); ?>video" title="Video Nổi Bật Trong Tuần">Video Nổi Bật</a></h2>
	<div class="videoItems clearfix">
	<?php
		$this->post_model->list_where = 'type = 2 AND published = 1';
		$this->post_model->list_orderby = array('rand()');
		$items = $this->post_model->getList(3);
		foreach($items as $k=>$itm):
			$link = siteUrl('post/detail/'.$itm->id.'-'.$itm->alias, $itm->category_id);
	?>
		<div class="item row<?= $k ?>">
			
				<div class="thumb">
					<a href="<?= $link ?>"><img src="http://img.youtube.com/vi/<?= $itm->link_youtube ?>/0.jpg" alt="<?= html_escape($itm->title) ?>" /></a>
					<a href="<?= $link ?>"><span class="play"></span></a>
				</div>
			
			<div class="details">
				<h3 class="title"><a href="<?= $link ?>"><?= $itm->title ?></a></h3>
			</div>
		</div>
	<?php endforeach ?>
	</div>
</div>